"""
36000以上  3%
36000-144000 10%
144000-300000 20%
300000-420000 25%
420000-660000 30%
660000-960000 35%
960000以上     45%
"""
quick_money = (0, 2520, 16920, 31920, 52920, 85920, 181920)
while True:
    money = float(input("请输入年收入金额："))
    if money <= 0.0:
        exit()
    elif money <= 36000:
        print(f"你要上交的劳动所得税是：{quick_money[0]}")
    elif money > 36000 and money <= 144000:
        print(f"你要上交的劳动所得税是：{quick_money[1]}")
    elif money > 144000 and money <= 300000:
        print(f"你要上交的劳动所得税是：{quick_money[2]}")
    elif money > 300000 and money <= 420000:
        print(f"你要上交的劳动所得税是：{quick_money[3]}")
    elif money > 420000 and money <= 660000:
        print(f"你要上交的劳动所得税是：{quick_money[4]}")
    elif money > 660000 and money <= 960000:
        print(f"你要上交的劳动所得税是：{quick_money[5]}")
    else:
        print(f"你要上交的劳动所得税是：{quick_money[6]}")
